#include "loaddialog.h"

#include <QDebug>
#define LOAD_W 60
#define LOAD_H 60

LoadDialog::LoadDialog(QWidget *parent) : QDialog(parent)
{
    setFixedSize(LOAD_W, LOAD_H);
    m_loadAnimation = new LoadAnimation(this);
    setWindowModality(Qt::ApplicationModal); // 模态窗口
    setWindowFlags(Qt::FramelessWindowHint);
}

void LoadDialog::setHighLight()
{
    m_loadAnimation->setHighLight();
}
